//
//  DeviceInfoModel.m
//  CedarFinancePH
//
//  Created by lshenrong on 2018/9/21.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import "DeviceInfoModel.h"
#import "DatabaseStoreHelper.h"

@implementation DeviceInfoModel


- (BOOL)isEqualToDeviceInfo:(DeviceInfoModel *)object{
    if (!object) {
        return NO;
    }
    if(![self.pushToken isEqualToString:object.pushToken]){
        return NO;
    }
    if(![self.sysytemVersion isEqualToString:object.sysytemVersion]){
        return NO;
    }
    if(![self.appVersion isEqualToString:object.appVersion]){
        return NO;
    }
    if(![self.loginMobile isEqualToString:object.loginMobile]){
        return NO;
    }
    return YES;
}


@end
